﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TournamentSubscriptionMainMenu.ascx.cs" Inherits="VirtualTournaments.Frontend.MenuControls.TournamentSubscriptionMenu.InnerControls.TournamentSubscriptionMainMenu" %>

<link href="../../../App_Themes/TournamentManager/TournamentManager.css" rel="stylesheet" type="text/css" />

<asp:Panel ID="ContentPanel" runat="server">
    <div style="position:fixed;height:100%;width:100%;top:0px;left:0px;
        background-color:#000000;filter:alpha(opacity=55);-moz-opacity:.55;opacity:.55;z-index:50;" 
        id="pagedimmer" runat="server" visible="false">
    </div>

    <div style="position:fixed;background-color:#888888; border:1px solid #999999; z-index:50; left:20%; 
        right:20%; top:20%;" id="msgbox" runat="server" visible="false">
        <div style="margin:5px;"> 
            <table width="100%" style="background-color:#FFFFFF; border:1px solid #999999;"> 
                <tr> 
                    <td colspan="2" style="font-family:tahoma; font-size:11px; font-weight:bold; 
                        padding-left:5px; background-image: url(winxp.gif); height:22px;">Confirm your selection.
                    </td> 
                </tr> 
                
                <tr>
                    <td style="width:100px; text-align:center;"></td> 
                    
                    <td style="font-family:tahoma; font-size:11px;padding-left:5px;">
                        <asp:Label ID="ConfirmMessageLabelTitle" runat="server" Text="Please, confirm the following request:"></asp:Label>
                        <br />
                        <asp:Label ID="BetInfoLabel" runat="server" Font-Size="Large"></asp:Label>
                        <asp:Label ID="SubscribeToTournamentIndexLabel" runat="server" Visible="false"></asp:Label>
                        <br />
                        <asp:Label ID="StatusLabel" runat="server" Text="Waiting for confirmation..."></asp:Label>
                    </td> 
                </tr>
                
                <tr>
                    <td colspan="2" style="border-top:1px solid #CCCCCC; padding-top:5px;text-align:right;">
                        <asp:Button ID="ConfirmCurrentBetButton" Text="OK" runat="server" OnClick="ConfirmCurrentBetButton_OnClick" />
                        <asp:Button ID="CancelCurrentBetButton" Text="Cancel" runat="server" OnClick="CancelCurrentBetButton_OnClick"/>
                        <asp:Button ID="FinishCurrentBetButton" Text="Finish" runat="server" OnClick="FinishCurrentBetButton_OnClick" Enabled="false"/>
                    </td>
                </tr>
            </table> 
        </div> 
    </div> 
   
    <asp:Table ID="TournamentsTable" runat="server" Width="100%" CssClass="CreateTournamentTableCssClass">
        <asp:TableHeaderRow ID="TournamentsTableHeaderRow" runat="server" >
            <asp:TableHeaderCell ID="TournamentNameHeaderCell" >
                Tournament
            </asp:TableHeaderCell>
            <asp:TableHeaderCell>
                Subscribed
            </asp:TableHeaderCell>
            <asp:TableHeaderCell>
                Subscribe
            </asp:TableHeaderCell>
            <asp:TableHeaderCell>
                Info
            </asp:TableHeaderCell>
        </asp:TableHeaderRow>
    </asp:Table>
    
    <div id="CheckToSubscribeDiv" class="CheckToSubscribeLabelDivCssClass">
        <asp:Label ID="CheckToSubscribeLabel" runat="server" CssClass="CheckToSubscribeLabelCssClass" >
        </asp:Label>
    </div>
   
    <div id="ButtonBackDiv" class="ButtonBackDivCssClass">
        <asp:Button ID="GoBackButton" runat="server" OnClick="GoBackButton_OnClick" Text="< Go Back >" 
        CssClass="CreateTournamentButtonCssClass" BackColor="Transparent" BorderStyle="None"/>
    </div>
    
</asp:Panel>